home *** CD-ROM | disk | FTP | other *** search
/ Ghost Rider iactivecard / Ghost Rider iactivecard.iso / pc / main.swf / scripts / frame_1 / DoAction_2.as next >
Encoding:
Text File  |  2007-04-10  |  713 b   |  19 lines

  1. function getTheTime()
  2. {
  3.    var _loc2_ = new Date();
  4.    var _loc4_ = _loc2_.getMonth() + 1 + "-" + _loc2_.getDate() + "-" + _loc2_.getFullYear();
  5.    timenow = new Date();
  6.    hours_txt = timenow.getHours();
  7.    var _loc1_ = timenow.getMinutes();
  8.    minutes_txt = _loc1_ >= 10 ? _loc1_ : "0" + _loc1_;
  9.    var _loc3_ = int(timenow.getSeconds());
  10.    seconds_txt = _loc3_ >= 10 ? _loc3_ : "0" + _loc3_;
  11.    return _loc4_ + "_" + timenow.getHours() + ":" + (_loc1_ >= 10 ? _loc1_ : "0" + _loc1_);
  12. }
  13. _project = "project=GhostRiderCD";
  14. filePath = "http://iactivetrack.net/ghost_rider/tracker.php?" + _project;
  15. loadVariables(filePath,_root);
  16. trace(filePath);
  17. currentDate = getTheTime();
  18. trace(currentDate);
  19.